package com.cs.domain.vo;

import com.cs.domain.CSCategory;

import java.util.List;

/**
 * @Author：bbdf
 * @Package：com.cs.domain.vo
 * @Project：RuoYi-Cloud
 * @name：CategoryVO
 * @Date：2024-12-21 14:43
 * @Filename：CategoryVO
 */
public class CategoryVO {
    String label;
    Long value;
    Long pId;
    List<CategoryVO> children;

    public CategoryVO() {
    }

    public CategoryVO(String label, Long value, Long pId, List<CategoryVO> children) {
        this.label = label;
        this.value = value;
        this.pId = pId;
        this.children = children;
    }

    public Long getpId() {
        return pId;
    }

    public void setpId(Long pId) {
        this.pId = pId;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public Long getValue() {
        return value;
    }

    public void setValue(Long value) {
        this.value = value;
    }

    public List<CategoryVO> getChildren() {
        return children;
    }

    public void setChildren(List<CategoryVO> children) {
        this.children = children;
    }
}
